package com.sys.server.common.constants.enums;

public enum ResultSetEnum {

    SUCCESS(200, "success"),
    PARAMS_ERROR(500, "请求参数错误"),
    FAIL(500, "fail");


    private final Integer code;
    private final String msg;

    ResultSetEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
